package org.qqcui.designpattern.patterns.command;

/**
 * 电灯操作的实际执行类
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/5/6 11:11
 **/
public class LightReceiver {

    public void on() {
        System.out.println("打开电灯");
    }

    public void off() {
        System.out.println("关闭电灯");
    }
}
